<!--
 * @Author: 郑俊标
 * @Date: 2024-06-07 15:54:59
 * @LastEditors: 郑俊标
 * @LastEditTime: 2024-06-08 15:15:22
 * @Description: 404页面
-->
<template>
    <div class="pageBox">
        <div class="pic-404">
            <img class="pic-404__parent" src="@/assets/404_images/404.png" alt="">
            <img class="pic-404__child left" src="@/assets/404_images/404_cloud.png" alt="">
            <img class="pic-404__child mid" src="@/assets/404_images/404_cloud.png" alt="">
            <img class="pic-404__child right" src="@/assets/404_images/404_cloud.png" alt="">
        </div>
        <div class="show_tip">
            <div class="tip_title">404错误!</div>
            <div class="tip_subtitle">找不到网页!</div>
            <div class="tip_content">
                对不起，您正在寻找的页面不存在。尝试检查URL的错误，然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。
            </div>
            <el-button type="primary" round class="return_home">返回首页</el-button>
        </div>
    </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
    .pageBox {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 10%;
        .pic-404 {
            width: 600px;
            position: relative;
            &__parent {
                width: 100%;
            }
            &__child {
                width: 100%;
                position: absolute;
                &.left {
                    width: 80px;
                    top: 38px;
                    left: 150px;
                    opacity: 0;
                    animation-name: cloudLeft;
                    animation-duration: 2s;
                    animation-timing-function: linear;
                    animation-fill-mode: forwards;
                    animation-delay: 1s;
                }
                &.mid {
                    width: 46px;
                    top: 64px;
                    left: 280px;
                    opacity: 0;
                    opacity: 0;
                    animation-name: cloudMid;
                    animation-duration: 2s;
                    animation-timing-function: linear;
                    animation-fill-mode: forwards;
                    animation-delay: 1.2s;
                }
                &.right {
                    width: 62px;
                    top: 80px;
                    left: 388px;
                    opacity: 0;
                    animation-name: cloudRight;
                    animation-duration: 2s;
                    animation-timing-function: linear;
                    animation-fill-mode: forwards;
                    animation-delay: 1s;
                }
                @keyframes cloudLeft {
                    0% {
                        top: 17px;
                        left: 220px;
                        opacity: 0;
                    }
                    20% {
                        top: 33px;
                        left: 188px;
                        opacity: 1;
                    }
                    80% {
                        top: 81px;
                        left: 92px;
                        opacity: 1;
                    }
                    100% {
                        top: 97px;
                        left: 60px;
                        opacity: 0;
                    }
                }
                @keyframes cloudMid {
				0% {
					top: 10px;
					left: 420px;
					opacity: 0;
				}
				20% {
					top: 40px;
					left: 360px;
					opacity: 1;
				}
				70% {
					top: 130px;
					left: 180px;
					opacity: 1;
				}
				100% {
					top: 160px;
					left: 120px;
					opacity: 0;
				}
			}
			@keyframes cloudRight {
				0% {
					top: 100px;
					left: 500px;
					opacity: 0;
				}
				20% {
					top: 120px;
					left: 460px;
					opacity: 1;
				}
				80% {
					top: 180px;
					left: 340px;
					opacity: 1;
				}
				100% {
					top: 200px;
					left: 300px;
					opacity: 0;
				}
			}
            }
        }
        .show_tip {
            width: 300px;
            .tip_title {
                margin-bottom: 20px;
                font-size: 32px;
                font-weight: 600;
                color: #1482f0;
                opacity: 0;
                animation-name: tipFrame;
                animation-duration: 0.5s;
                animation-fill-mode: forwards;
            }
            .tip_subtitle {
                margin-bottom: 10px;
                font-size: 20px;
                font-weight: 600;
                opacity: 0;
                animation-name: tipFrame;
                animation-duration: 0.5s;
                animation-delay: 0.1s;
                animation-fill-mode: forwards;
            }
            .tip_content {
                margin-bottom: 30px;
                color: grey;
                font-size: 13px;
                opacity: 0;
                animation-name: tipFrame;
                animation-duration: 0.5s;
                animation-delay: 0.2s;
                animation-fill-mode: forwards;
            }
            .return_home {
                opacity: 0;
                animation-name: tipFrame;
                animation-duration: 0.5s;
                animation-delay: 0.3s;
                animation-fill-mode: forwards;
            }
            @keyframes tipFrame {
                0% {
                    transform: translateY(60px);
                    opacity: 0;
                }
                100% {
                    transform: translateY(0);
                    opacity: 1;
                }
            }
        }
    }
</style>